package com.luyuanhe.common.vo;

import lombok.Data;

@Data
public class ResultMessage<T> {
    private T data;
    private String code;

    public ResultMessage() {
    }

    public ResultMessage(String code,T data) {
        this.data = data;
        this.code = code;
    }

    public T getData() {
        return this.data;
    }

    public void setData(T data) {
        this.data = data;
    }

}

